<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大事件登录注册晚自习1</title>
    <!-- 引入layui的css -->
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <!-- 引入自己的css -->
    <link rel="stylesheet" href="./assets/css/login.css">
</head>
<body>
    <!-- logo区域 -->
    <div class="layui-main">
        <img src="./assets/images/logo.png" alt="">
    </div>
    <!-- 登录与注册区域 -->
    <div class="loginAndBig">
        <!-- 顶部图片 -->
        <div class="titre-box"></div>
        <!-- 登录盒子 -->
        <div class="box-login">
            <form class="layui-form" id="form-login" >
                <!-- 用户框 -->
                <div class="layui-form-item">
                    <!-- 字体图标 -->
                    <i class="layui-icon layui-icon-username"></i>   
                    <input type="text" name="username" required  lay-verify="required|uname" placeholder="请输入用户名"  class="layui-input">
                </div>
                <!-- 密码框 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>   
                    <input type="password" name="password" required  lay-verify="required|pass" placeholder="请输入密码"  class="layui-input">
                </div>
                <!-- 登录按钮 -->
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit >登录</button>
                </div>
                <!-- 去注册a链接 -->
                <div class="layui-form-item">
                    <a href="javascript:;" id="big-form">去注册用户</a>
                </div>
            </form>
        </div>


        <!-- 注册盒子 -->
        <div class="box-big" >
            <form class="layui-form" id="form-big">
                <!-- 用户框 -->
                <div class="layui-form-item">
                    <!-- 字体图标 -->
                    <i class="layui-icon layui-icon-username"></i>   
                    <input type="text" name="username" required  lay-verify="required|uname" placeholder="请输入用户名"  class="layui-input">
                </div>
                <!-- 密码框 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>   
                    <input type="password" name="password" required  lay-verify="required|pass" placeholder="请输入密码"  class="layui-input">
                </div>
                <!-- 密码确认框 -->
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>   
                    <input type="password" name="repassword" required  lay-verify="required|pass|repwd" placeholder="请再次输入密码"  class="layui-input">
                </div>
                <!-- 注册按钮 -->
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit >注册</button>
                </div>
                <!-- 去登录a链接 -->
                <div class="layui-form-item">
                    <a href="javascript:;" id="login-form">去登录</a>
                </div>
            </form>
        </div>
    </div>


    <!-- 引入layui的js -->
    <script src="./assets/lib/layui/layui.all.js"></script>
    <!-- 引用jquery -->
    <script src="./assets/lib/jquery.js"></script>
    <!-- 自己封装的api 用于url根目录的拼接 -->
    <script src="./assets/js/zijiapi.js"></script>
<!-- 引入自己的js -->
<script src="./assets/js/login.js"></script>
</body>
</html>